MediaField

enum MediaField : Enum<MediaField>

List of fields for the media object. Expansion required.

Entries

Link copied to clipboard
ALL("${MEDIA_KEY.value}," + "${TYPE.value}," + "${DURATION_MS.value}," + "${HEIGHT.value}," + "${PREVIEW_IMAGE_URL.value}," + "${PUBLIC_METRICS.value}," + "${URL.value}," + "${WIDTH.value}," + "${ALT_TEXT.value}," + "${NON_PUBLIC_METRICS.value}," + "${ORGANIC_METRICS.value}," + PROMOTED_METRICS.value)

All Fields including premium fields.

Link copied to clipboard
ALL_DEFAULT("${MEDIA_KEY.value}," + "${TYPE.value}," + "${DURATION_MS.value}," + "${HEIGHT.value}," + "${PREVIEW_IMAGE_URL.value}," + "${PUBLIC_METRICS.value}," + "${URL.value}," + "${WIDTH.value}," + ALT_TEXT.value)

All non-premium fields

Link copied to clipboard
DEFAULT(",")

All default fields

Link copied to clipboard
PROMOTED_METRICS("promoted_metrics")
Link copied to clipboard
ORGANIC_METRICS("organic_metrics")
Link copied to clipboard
NON_PUBLIC_METRICS("non_public_metrics")
Link copied to clipboard
ALT_TEXT("alt_text")
Link copied to clipboard
WIDTH("width")
Link copied to clipboard
URL("url")
Link copied to clipboard
PUBLIC_METRICS("public_metrics")
Link copied to clipboard
PREVIEW_IMAGE_URL("preview_image_url")
Link copied to clipboard
HEIGHT("height")
Link copied to clipboard
DURATION_MS("duration_ms")
Link copied to clipboard
TYPE("type")
Link copied to clipboard
MEDIA_KEY("media_key")

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val value: String